package com.foruo.demo.spring.scan;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Qualifier("gunEntity1")
@Component
public class GunEntity1 implements IToolEntity{

    @Override
    public void use() {
        System.out.println("用枪1");
    }
}
